package com.isunland.managesystem.ui;

import android.support.v4.app.Fragment;
import com.isunland.managesystem.entity.WorkprocessFinish.FinishDtail;

public class WorkProcessFinishDetailActicity extends SingleFragmentActivity {

  @Override protected Fragment createFragment() {
    FinishDtail detail =
        (FinishDtail) getIntent().getSerializableExtra(WorkProcessFinishDetailFragment.EXTRA_VALUE);
    int from = getIntent().getIntExtra(WorkProcessFinishDetailFragment.EXTRA_FROM, 0);
    return WorkProcessFinishDetailFragment.newInstance(detail, from);
  }
}
